Previous topicNext topic
Help > Keyword Reference >
IPowerTime.NewTime method

NewTime <28> (ByVal Hour&, Opt ByVal Min&, Opt ByVal Sec&, Opt ByVal MSec&, Opt ByVal Tick&)

The time component of the PowerTime object is assigned a new value based upon the specified parameters. The date component is unchanged. If parameters are invalid, an appropriate error code is returned in OBJRESULT.